package org.example.service;

import org.example.model.BlogInfo;

import java.util.List;

public interface BlogService {
    List<BlogInfo> getBlogList();

    BlogInfo getBlogDetail(Integer blogId);

    Integer addBlog(BlogInfo blogInfo);

    Boolean update(BlogInfo blogInfo);

    void deleteBlogById(Integer blogId);
}
